package com.bw.bean.lizeliang;

import java.util.Date;

import com.bw.bean.Student;
//日期，项目经理，姓名，面试公司，上午，下午，面试前辅导录音是否提交，面试后诊断录音是否提交

public class ShouyeData {
	private Integer iid;
	
	private Integer sid;

	private String cname;
	
	private Date presentdate;

	private String username;
	
	private String sname;
	
	private String company;
	
	private String mstime1;
	
	private String mstime2;
	
	private Integer firstguideflag;

    private Integer laterguideflag;
    
    

	public String getCname() {
		return cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public Integer getSid() {
		return sid;
	}

	public Integer getIid() {
		return iid;
	}

	public void setIid(Integer iid) {
		this.iid = iid;
	}

	public void setSid(Integer sid) {
		this.sid = sid;
	}

	public Date getPresentdate() {
		return presentdate;
	}

	public void setPresentdate(Date presentdate) {
		this.presentdate = presentdate;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getSname() {
		return sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	

	public String getMstime1() {
		if(mstime1!=null){
			if(Integer.parseInt(mstime1.split(":")[0])<=12){
				return mstime1.replace(":", "点")+"分";
			}
		}
		return "";
	}

	public void setMstime1(String mstime1) {
		this.mstime1 = mstime1;
	}

	public String getMstime2() {
		if(mstime2!=null){
			if(Integer.parseInt(mstime2.split(":")[0])>12){
				return mstime2.replace(":", "点")+"分";
			}
		}
		return "";
	}

	public void setMstime2(String mstime2) {
		this.mstime2 = mstime2;
	}

	public Integer getFirstguideflag() {
		return firstguideflag;
	}

	public void setFirstguideflag(Integer firstguideflag) {
		this.firstguideflag = firstguideflag;
	}

	public Integer getLaterguideflag() {
		return laterguideflag;
	}

	public void setLaterguideflag(Integer laterguideflag) {
		this.laterguideflag = laterguideflag;
	}

	@Override
	public String toString() {
		return "ShouyeData [sid=" + sid + ", presentdate=" + presentdate + ", username=" + username + ", sname=" + sname
				+ ", company=" + company + ", mstime1=" + mstime1 + ", mstime2=" + mstime2 + ", firstguideflag="
				+ firstguideflag + ", laterguideflag=" + laterguideflag + "]";
	}
    
    
}
